-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setControlsDisplayRules opposite behaviour #2129
Comments
In Fomantic-UI docs I found https://fomantic-ui.com/behaviors/form.html#/examples
So the meaning of Is this how atk4/ui behave, anything to fix here? To confirm, can you please test with |
kindly remainder @bedengler |
Where did you see the definition "empty is used there to "not pass an empty input""? Tested it with is[dog] etc. and that works as expected... I also asked in the FomanticUI Discord now, if they know about that issue or even if this IS an issue 🤪 |
see the first code example in that link, and compare |
Alright, got confirmation from FomanticUI, it's the (wrong) behaviour since SemanticUI. So it's a "bug" they are carrying on and on. It seems, they will not change that soon. Therefore I suggest 2 options:
What do you think should we do? |
I have opened fomantic/Fomantic-UI#2937 in Fomantic-UI. We should not try to fix every issue in atk4/ui, but instead support Fomantic-UI as much as possible. |
Reopening as after it will be fixed by Fomantic UI, we can rename the |
Since v1.5 - https://github.com/atk4/ui/blob/2.4.0/js/src/services/form.service.js#L40 - the |
Strange behaviour of setControlsDisplayRules in v3.1
Expected behaviour: acpos_Quantity is shown, when acpos_Product_ID has a selection and acpos_Adspace_ID not.
Real behaviour: exactly the other way round. So when acpos_Product_ID is empty and acpos_Adspace_ID has a selection, acpos_Quantity is shown.
When I do
the result is the one I initially wanted, but it's against the logic...
Is the error in me, atk4 or FomanticUI? 🤪
The text was updated successfully, but these errors were encountered: