mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-10-31 11:08:04 +00:00 
			
		
		
		
	chore: Add select field example to WootMessageSeeder (#2338)
Fixes: #2076
This commit is contained in:
		| @@ -77,8 +77,10 @@ module WootMessageSeeder | |||||||
|       content_attributes: { |       content_attributes: { | ||||||
|         "items": [ |         "items": [ | ||||||
|           { "name": 'email', "placeholder": 'Please enter your email', "type": 'email', "label": 'Email' }, |           { "name": 'email', "placeholder": 'Please enter your email', "type": 'email', "label": 'Email' }, | ||||||
|           { "name": 'text_aread', "placeholder": 'Please enter text', "type": 'text_area', "label": 'Large Text' }, |           { "name": 'text_area', "placeholder": 'Please enter text', "type": 'text_area', "label": 'Large Text' }, | ||||||
|           { "name": 'text', "placeholder": 'Please enter text', "type": 'text', "label": 'text', "default": 'defaut value' } |           { "name": 'text', "placeholder": 'Please enter text', "type": 'text', "label": 'text', "default": 'defaut value' }, | ||||||
|  |           { "name": 'select', "label": 'Select Option', "type": 'select', "options": [{ "label": '🌯 Burito', "value": 'Burito' }, | ||||||
|  |                                                                                       { "label": '🍝 Pasta', "value": 'Pasta' }] } | ||||||
|         ] |         ] | ||||||
|       } |       } | ||||||
|     ) |     ) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Sojan Jose
					Sojan Jose