Method: Playbook::PbSelect::Select#disabled_options
- Defined in:
- app/pb_kits/playbook/pb_select/select.rb
#disabled_options ⇒ Object
79 80 81 82 83 84 85 86 |
# File 'app/pb_kits/playbook/pb_select/select.rb', line 79 def = .map { |option| option[:value] if option[:disabled] == true }.compact if .empty? nil else end end |