{{--
 * Blade Template
 *
 * @version     1.0.$Revision:$
 * @version     SVN: $Id:$
 * @package     bplan-base/globals
 * @subpackage  Views
 * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
 * @copyright   Copyright (C) 2025, 2026 bplan-solutions GmbH & Co. KG <https://www.bplan-solutions.de/>
 * /Δ\
--}}

@props(['field', 'wireModel'])

<input type="number" id="dff-{{ $field->name }}"
    wire:model="{{ $wireModel }}"
    @if (!empty($field->placeholder ?? null)) placeholder="{{ $field->placeholder }}" @endif
    @if (isset($field->min)) min="{{ $field->min }}" @endif
    @if (isset($field->max)) max="{{ $field->max }}" @endif
    @if (isset($field->step)) step="{{ $field->step }}" @endif
    class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500" />
