-
-
Notifications
You must be signed in to change notification settings - Fork 140
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
Increase the size of Multi select list box #60
Comments
The same way you would in HTML - use the template = [
{
"type": "select",
"model": "select",
"label": "select",
"empty": "nothing selected",
"multiple": true,
"attributes": {
"size": 16
},
"autoOptions": "item.value as item.label for item in items"
}
]; |
Dan, Thanks for your quick reply. I will try this alternative. For now I controlled the size through generic CSS as below, select[multiple] { We extensively use your framework while building a quick prototype. This framework is one of the most well thought out one in creating dynamic UI. Great work. Shortly I will build a small tutorial on how to build a decent crud based application using spring boot and dynamic forms. Please see if you can accept the pull request. Thanks once again. |
One more question, how to force someone to select select an element from dropdown, I did set required field to true, but when I am processing, it is just accepting if an item is not selected. Please help me on this. Krishna |
I'm not sure why that's not working... One thing to note is that the |
When I am setting attributes a control, for example select, it is setting to the label of that control. Not the control itself. Can you fix this issue? for example,
when the data cameback, it looked as below, "citizen_country_group__country_group_id":{"label":"Citizen Country Group Country Group Name","type":"select","options":{"8":{"label":"APAC"}},"attributes":{"ng-change":"if(urlFormData['citizen_country_group__country_group_id'] != 0) urlFormData['citizen__country_id'] = 0"}} See if there is a fix. |
I realized that I can use a 'callback' and not use attributes. Thanks |
Dan,
I want to increase the size of multi select list box. Default size of 4. Is there a way?
Krishna
The text was updated successfully, but these errors were encountered: