<?php
/**
 * Displays a select preview in the payment form editor
 *
 * This template can be overridden by copying it to yourtheme/invoicing/payment-forms-admin/previews/select.php.
 *
 * @version 1.0.19
 */

defined( 'ABSPATH' ) || exit;

?>

<label class="form-label d-block w-100">
    <span v-html="form_element.label"></span>
    <span class='text-danger' v-if='form_element.required'> *</span>
    <select class='form-control custom-select'>
        <option v-if='form_element.placeholder' selected="selected">{{form_element.placeholder}}</option>
    </select>
    <small v-if='form_element.description' class='form-text text-muted' v-html='form_element.description'></small>
</label>
