Merge branch 'main' of https://git.cklph.dev/francis/fluentforms-custom-select
This commit is contained in:
		
						commit
						78e46c0ac4
					
				
					 1 changed files with 8 additions and 0 deletions
				
			
		
							
								
								
									
										8
									
								
								readme.txt
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								readme.txt
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,8 @@
 | 
				
			||||||
 | 
					A code to create stylable and dynamic select-options field using choices.js plugin. (https://github.com/Choices-js/Choices)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					The code must be inserted to the 'Settings and Integrations' menu on fluent forms. 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Here are some limitations of the code:
 | 
				
			||||||
 | 
					1. For the code to work, the 'Enable Searchable Smart Options' must be unchecked. ( This will make fluentforms to render choices.js on the select field. They don't have any hooks / filters to catch this. )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					The calc_values of fluent forms is used to identify what color a specific option would look like. For example 1 - blue, 2 - red, etc. This can be changed from the 'getColor()' function.
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue