Time Selector (in a repeatable)

Permalink Browser Info Environment
Hello there

Another Bug we found: in a repeatable (have not tested outside) the "Time Picker" is not working correctly. The popup is displayed but interaction is limited and the value is not applied to the input.

Here is the config used:

"slides" => [
         "type"       => "Repeatable",
         "label"      => t("Slides"),
         "searchable" => true,
         "config"     => [
            "minimum_entries" => 1, // not required
            "maximum_entries" => 6, // not required
            "add_label"       => t("Slide hinzufügen"), // not required
            "fields"          => [
               "image_video"      => [
                  "type"  => "File",
                  "label" => t("Bild oder Video"),
                  "config"  => [
                     "choose_text" => t("Wähle ein Bild .jpg oder Video .mp4"),
                  ],

Type: Discussion
Status: Resolved
donat
View Replies:
ramonleenders replied on at Permalink Reply
ramonleenders
Hi Donat,

Please don't use the min_date and max_date, if you're only using this as a time picker. The time picker will probably use todays date and if it's not within the given dates, it will not do anything. So just remove these config keys in your array and you are good to go!

Let me know if that solves all your issues (for now at least).

Kind regards
Ramon
donat replied on at Permalink Reply
donat
Thanks a lot.

concrete5 Environment Information

# Concrete Version
Core Version - 9.1.3
Version Installed - 9.1.3
Database Version - 20220908074900

# Hostname
donatBlitz

# Environment
production

# Database Information
Version: 8.0.31-0ubuntu0.22.04.1
SQL Mode: STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_ENGINE_SUBSTITUTION

# Concrete Packages
Block Developer (1.4.2), Concrete CMS Api Proposal 2022 (0.8.2), Search++ (9.0.2)

# Concrete Overrides
blocks/slider/add.php, blocks/slider/config.php, blocks/slider/composer.php, blocks/slider/edit.php, blocks/slider/controller.php, blocks/slider/view.php, blocks/slider/form.php, blocks/slider/icon.png, blocks/slider/db.xml, blocks/slider

# Concrete Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache/2.4.54 (Ubuntu)

# Server API
apache2handler

# PHP Version
8.1.13

# PHP Extensions
apache2handler, bz2, calendar, Core, ctype, curl, date, dom, exif, FFI, fileinfo, filter, ftp, gd, gettext, hash, iconv, intl, json, libxml, mbstring, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, Phar, posix, readline, Reflection, session, shmop, SimpleXML, sockets, sodium, SPL, standard, sysvmsg, sysvsem, sysvshm, tokenizer, xdebug, xml, xmlreader, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 30
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 64M
upload_max_filesize - 64M
zend.exception_string_param_max_len - 0
mbstring.regex_retry_limit - 1000000
mbstring.regex_stack_limit - 100000
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
unserialize_max_depth - 4096
xdebug.max_nesting_level - 256
xdebug.max_stack_frames - -1
xdebug.var_display_max_children - 128
xdebug.var_display_max_data - 512
xdebug.var_display_max_depth - 3
opcache.jit_bisect_limit - 0
opcache.jit_max_exit_counters - 8192
opcache.jit_max_loop_unrolls - 8
opcache.jit_max_polymorphic_calls - 2
opcache.jit_max_recursive_calls - 2
opcache.jit_max_recursive_returns - 2
opcache.jit_max_root_traces - 1024
opcache.jit_max_side_traces - 128
opcache.max_accelerated_files - 10000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (X11; Linux x86_64; rv:107.0) Gecko/20100101 Firefox/107.0

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.