barseghyanartur / django-fobi

Form generator/builder application for Django done right: customisable, modular, user- and developer- friendly.
https://pypi.python.org/pypi/django-fobi
485 stars 112 forks source link

Input field desabled #268

Closed Aqurds closed 2 years ago

Aqurds commented 2 years ago

Hello,

Thanks for building this great project!

In Form building, I'm getting the input field remains disabled and read-only, when the disabled property is set to false as well as the read-only property.

https://imgur.com/a/7U6TmMi Screenshots links are attached. Is it a bug?

Another thing is, that I am planning to make the "Export" & "Import" process automatic. Is there any way to bind these events on "form handler" plugins? Or any suggestions, please?

Regards, Omar.

barseghyanartur commented 2 years ago

@Aqurds:

This looks strange. I've tested it all just a couple of days ago, and it worked well. Browser tests pass. Which versions are you using (Python/Django)?

Regarding I am planning to make the "Export" & "Import" process automatic - please explain in detail what do you need (and how do you want it to work).

Aqurds commented 2 years ago

Hi, @barseghyanartur thanks for your comment :)

I am using Python 3.7.9 Django==3.2.13

Regards

Aqurds commented 2 years ago

Regarding I am planning to make the "Export" & "Import" process automatic - please explain in detail what do you need (and how do you want it to work).

-- On submit event, the form handler is working under the hood, Is there any way we can export the form in JSON format as well (on submit event) by extending the form handler plugin or creating a new plugin?

barseghyanartur commented 2 years ago

@Aqurds:

I'm still missing a lot of details. What are you planning to do with the data in JSON format?

barseghyanartur commented 2 years ago

@Aqurds

As for disabled issue, check the demo. Does it work for you?

Aqurds commented 2 years ago

@barseghyanartur the plan on my side is quite deep, the first phase is to export the form. In the form list view, I see a button for exporting the form and it gives the facility to download the form in JSON format. https://imgur.com/a/NYO4lbK

The point here I am trying to get is, is there any way to bind this export feature with the form submit button? If it's not clear yet, then I will post a video explaining my thought.

Regards.

Aqurds commented 2 years ago

Unfortunately, it doesn't work in the demo too. I just added an input field in a form from the demo and it remains disabled! https://imgur.com/a/S6aPgpX

barseghyanartur commented 2 years ago

@Aqurds:

You might be mixing things up. There are two types of exports here.

Depending on what you need, the path would be different. If you work on a commercial project, I might be able to think along to help you to make the best of it. Send me an email, if that's the case.

As of the bug, I tested it with Chrome, Firefox, Opera and Brave. All works well. Which browser do you use? Try disabling add-ons or starting browser in incognito mode.

barseghyanartur commented 2 years ago

Closed due to inactivity. Feel free to reopen.

dgambin commented 1 year ago

Hi,

Input fields are disabled for me too. I tried it in Chrome Incognito mode on your live demo.

regards, dejan

jarrthur commented 1 year ago

Hi,

Input fields are disabled for me too. I tried it in Chrome Incognito mode on your live demo.

regards, dejan

I'm having this same problem too

barseghyanartur commented 1 year ago

@jarrthur:

Thanks for reporting this. Could you please include as much details as possible? Your operating system, browser version, etc.

barseghyanartur commented 1 year ago

FYI: It works for me.

System: Linux Ubuntu 22.04

Just tested on the following browsers:

Can it be that you have some strange plugin installed?

felixcheruiyot commented 2 months ago

I'm getting this problem too. Looking into it. Once I find a fix I'll come back and update you.