Skip to content
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

[dropdown] inline validation on submit #3045

Closed
mdrxy opened this issue May 9, 2024 · 1 comment
Closed

[dropdown] inline validation on submit #3045

mdrxy opened this issue May 9, 2024 · 1 comment
Labels
needs-more-info type/usage Any support issues asking for help

Comments

@mdrxy
Copy link

mdrxy commented May 9, 2024

Feature Request

Currently, if inline validation is set to true, it is not possible to override the validation's on trigger, which is set to blur. I'd appreciate the option to specify a different setting such as on: 'submit'.

@mdrxy mdrxy added state/awaiting-triage Any issues or pull requests which haven't yet been triaged type/feat Any feature requests or improvements labels May 9, 2024
@lubber-de
Copy link
Member

lubber-de commented May 10, 2024

Mmh, i think this is already working

$('.ui.form')
  .form({
    fields: {
    	"pet": "empty" 
    },
    inline : true,
    on     : 'submit'
  })
;

See https://jsfiddle.net/lubber/sx1y9tab/8/
It validates only on submit and shows the errors inline.

Please adjust the jsfiddle according to your use case.

[Edit] Added a Dropdown which you were mentioning. But it still works as expected and requested.

@lubber-de lubber-de added needs-more-info type/usage Any support issues asking for help and removed state/awaiting-triage Any issues or pull requests which haven't yet been triaged type/feat Any feature requests or improvements labels May 10, 2024
@mdrxy mdrxy closed this as completed May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-more-info type/usage Any support issues asking for help
Projects
None yet
Development

No branches or pull requests

2 participants