КОНТРОЛЫ/phone.md
Исходный код
Twig код
<div class="js-control-phone control-phone">
{% include "interface/controls/input.twig" with {
value: value|phone,
name: '',
class_name: 'control-phone__formatted js-form-changes-skip ' ~ input_class_name,
placeholder: placeholder,
max_length: max_length
} only %}
{% set ajax_params = {} %}
{% if ajax is defined %}
{% set ajax_params = {
ajax: ajax
} %}
{% endif %}
{% include "interface/controls/suggest.twig" with {
value: value,
name: name,
type: type,
additional_data: additional_data,
class_name: 'control-phone__suggest',
input_class_name: input_class_name,
input_type: 'hidden'
}|merge(ajax_params) %}
</div>
Ссылка на вики репозиторий
- Страницы
- add_button
- budget
- button
- cancel_button
- chained_list
- checkbox
- checkboxes_dropdown
- checkboxes_dropdown_single
- checkboxes_string
- color_picker
- contenteditable
- date_field
- date_filter
- date_time_field
- deadline_select
- delete_button
- drive_field
- feed_note_main_buttons
- file
- input
- legal_entity
- line_toggler
- multiselect
- payer
- phone
- pipeline_toggler
- radio
- responsive_toggler
- select
- select_with_subtext
- smart_address
- status_chat
- suggest
- supplier
- switcher
- tags
- textarea
- textarea_code
- time
- time_field
- toggler
- updater
- users
- wysiwyg
Ссылка на вики репозиторий
- add_button
- budget
- button
- cancel_button
- chained_list
- checkbox
- checkboxes_dropdown
- checkboxes_dropdown_single
- checkboxes_string
- color_picker
- contenteditable
- date_field
- date_filter
- date_time_field
- deadline_select
- delete_button
- drive_field
- feed_note_main_buttons
- file
- input
- legal_entity
- line_toggler
- multiselect
- payer
- phone
- pipeline_toggler
- radio
- responsive_toggler
- select
- select_with_subtext
- smart_address
- status_chat
- suggest
- supplier
- switcher
- tags
- textarea
- textarea_code
- time
- time_field
- toggler
- updater
- users
- wysiwyg