<div class="pxl-icon-search pxl-icon-search2">
    <form role="search" method="get" class="search-form" action="<?php echo esc_url(home_url( '/' )); ?>">
        <div class="searchform-wrap">
            <input type="text" placeholder="<?php if(!empty($settings['placeholder'])) { echo esc_attr($settings['placeholder']); } else { echo esc_attr__('Search', 'kaitex'); } ?>" name="s" class="search-field" required />
            <button type="submit" class="search-submit pxl-button-clear">
                <?php if(!empty($settings['pxl_icon']['value'])) {
                    \Elementor\Icons_Manager::render_icon( $settings['pxl_icon'], [ 'aria-hidden' => 'true', 'class' => '' ], 'i' );
                } else { ?>
                    <i class="ion-ios-search"></i>
                <?php } ?>
            </button>
        </div>
    </form>
</div>
